package com.wfcm.entity;

import java.io.Serializable;

public class Record implements Serializable {

    private Integer id;

    private Integer userid;

    private Integer chapterid;

    private Integer time;

    private Integer studytime;

    private Long createtime;

    public Record() {
    }

    public Record(Integer userid, Integer chapterid, Integer time, Integer studytime, Long createtime) {
        this.userid = userid;
        this.chapterid = chapterid;
        this.time = time;
        this.studytime = studytime;
        this.createtime = createtime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStudytime() {
        return studytime;
    }

    public void setStudytime(Integer studytime) {
        this.studytime = studytime;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getChapterid() {
        return chapterid;
    }

    public void setChapterid(Integer chapterid) {
        this.chapterid = chapterid;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "Record{" +
                "id=" + id +
                ", userid=" + userid +
                ", chapterid=" + chapterid +
                ", time=" + time +
                ", studytime=" + studytime +
                ", createtime=" + createtime +
                '}';
    }
}
